<template>
  <div>
    <el-table :data="tableData">
      <el-table-column label="序号" type="index" width="135">
      </el-table-column>
      <el-table-column v-for="item in tableLabel" :key="item.prop" :label="item.label ">
        <template #default="scope">
          <span style="margin-left: 10px">{{ scope.row[item.prop] }}</span>
        </template>
      </el-table-column>
     
    </el-table>
  </div>
</template>

<script>
import { defineComponent } from "vue";

export default defineComponent({
  props: {
    tableData: Array,
    tableLabel:Array,
  },
  setup() {},
});
</script>

<style scoped>
</style>
